package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.employee.EmployeeVo;
import com.example.chcrm.entity.supplier.HighwaySupplierInfo;

/**
 * @Author 邹
 * @Date 2025/4/20 23:38
 * @Version 1.0
 */
public interface HighwaySupplierInfoService<T> {
    /**
     * 分页查询公路供应商列表
     * @param highwaySupplierInfo 查询条件
     * @param empVo 当前登录用户
     * @return 分页结果
     */
    ResponseMsg<IPage<HighwaySupplierInfo>> pageList(HighwaySupplierInfo highwaySupplierInfo, EmployeeVo empVo);

    ResponseMsg<Object> add(HighwaySupplierInfo customerInfo, EmployeeVo empVo);

    ResponseMsg<Object> detail(String id);

    ResponseMsg<Object> disable(HighwaySupplierInfo customerInfo, EmployeeVo empVo);

    ResponseMsg<Object> update(HighwaySupplierInfo customerInfo, EmployeeVo empVo);

    ResponseMsg<Object> selectAllHighSupplier();
}
